package com.kws.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kws.system.domain.TbAccountManagement;
import com.kws.system.domain.TbMerchant;
import com.kws.system.domain.info.QueryAccountManagementInfo;
import com.kws.system.domain.vo.CreateAccountManagementRq;
import com.kws.system.domain.vo.QueryAccountManagementRq;
import com.kws.system.domain.vo.UpdateAccountManagementRq;

public interface AccountManagementService extends IService<TbMerchant> {
    Page<QueryAccountManagementInfo> queryAccountPage(QueryAccountManagementRq rq);

//    boolean createAccount(CreateAccountManagementRq rq);

    boolean deleteAccountById(Long id);

    QueryAccountManagementInfo queryAccountById(Long id);

    boolean updateAccount(UpdateAccountManagementRq rq);
}
